import request from "@/utils/request"


const queryJournalApi = (data) => {
    return request({
        url:"/journal/query_journal",
        method:"POST",
        data
    })
}

const addJournalApi = data => {
    return request({
        url:"/journal/addjournal",
        method:"POST",
        data
    })
}

const allJournalApi = data => {
    return request({
        url:'/journal/getAllJournal',
        method:"POST",
        data
    })
}

export {
    queryJournalApi,
    addJournalApi,
    allJournalApi
}